package hu.debrecen.adastra.card.web.domain;

import hu.debrecen.adastra.card.service.domain.Card;

public class HandCardVO implements Card {

	private final Card card;

	private final boolean usable;

	public HandCardVO(final Card card, final boolean usable) {
		this.card = card;
		this.usable = usable;
	}

	@Override
	public String getType() {
		return this.card.getType();
	}

	@Override
	public String getSuit() {
		return this.card.getSuit();
	}

	public boolean isUsable() {
		return this.usable;
	}

	@Override
	public String toString() {
		return "HandCard [card=" + this.card + ", usable=" + this.usable + "]";
	}

}
